﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>LoadTree 加载树形</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" /><link href="../demo.css" rel="stylesheet" type="text/css" />

    
    <script src="../../scripts/boot.js" type="text/javascript"></script>
    
    

</head>
<body>
    <h1>LoadTree 加载树形</h1>      
    
<ul id="tree1" class="mini-tree" url="../data/TreeService.jsp?method=LoadTree" style="width:300px;height:200px;padding:5px;" 
    showTreeIcon="true" textField="name" 
    idField="id" parentField="pid" resultAsTree="false"
    expandOnLoad="0"
        > 
</ul>

    
    <script type="text/javascript">
        mini.parse();
        
    </script>

    <div class="description">
        <h3>Description</h3>
        <p>
        从服务端数据库完整演示加载树形数据。
        </p>
    </div>
</body>
</html>